import request from '../utils/request.js'



export function getMeetingPage(params) {
    return new Promise((resolve, reject)=>{
        request.get("/ipad/smokeMeeting/page", params).then((result)=>{
            resolve(result)
        }).catch(err=>{
            reject(err)
        });
    });
}

export function getMeetingDetail(id) {
    return new Promise((resolve, reject)=>{
        request.get(`/ipad/smokeMeeting/${id}`).then((result)=>{
            resolve(result)
        }).catch(err=>{
            reject(err)
        });
    });
}
